package com.ruoyi.system.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 新闻公告表 wdy_notice
 *
 * @author ruoyi
 * @date 2019-10-25
 */
public class WdyNotice extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** id */
	private Long id;
	/** 标题 */
	private String noticeName;
	/** 新闻图片 */
	private String noticeImage;
	/** 发布时间 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date releaseTime;
	/** 新闻描述 */
	private String imageList;
	/** 新闻内容 */
	private String noticeDetail;
	/** 作者 */
	private String noticeAuthor;
	/** 中英文 0中文1英文 */
	private Integer zyType;
	/** 类型(0，1) */
	private Integer noticeType;
	/** 排序 */
	private Integer sort;
	/** 删除标志（0代表存在 1代表删除） */
	private Integer delFlag;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/** 备注信息 */
	private String remark;

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId()
	{
		return id;
	}
	public void setNoticeName(String noticeName)
	{
		this.noticeName = noticeName;
	}

	public String getNoticeName()
	{
		return noticeName;
	}
	public void setNoticeImage(String noticeImage)
	{
		this.noticeImage = noticeImage;
	}

	public String getNoticeImage()
	{
		return noticeImage;
	}
	public void setReleaseTime(Date releaseTime)
	{
		this.releaseTime = releaseTime;
	}

	public Date getReleaseTime()
	{
		return releaseTime;
	}
	public void setImageList(String imageList)
	{
		this.imageList = imageList;
	}

	public String getImageList()
	{
		return imageList;
	}
	public void setNoticeDetail(String noticeDetail)
	{
		this.noticeDetail = noticeDetail;
	}

	public String getNoticeDetail()
	{
		return noticeDetail;
	}
	public void setNoticeAuthor(String noticeAuthor)
	{
		this.noticeAuthor = noticeAuthor;
	}

	public String getNoticeAuthor()
	{
		return noticeAuthor;
	}
	public void setZyType(Integer zyType)
	{
		this.zyType = zyType;
	}

	public Integer getZyType()
	{
		return zyType;
	}
	public void setNoticeType(Integer noticeType)
	{
		this.noticeType = noticeType;
	}

	public Integer getNoticeType()
	{
		return noticeType;
	}
	public void setSort(Integer sort)
	{
		this.sort = sort;
	}

	public Integer getSort()
	{
		return sort;
	}
	public void setDelFlag(Integer delFlag)
	{
		this.delFlag = delFlag;
	}

	public Integer getDelFlag()
	{
		return delFlag;
	}
	public void setCreateBy(String createBy)
	{
		this.createBy = createBy;
	}

	public String getCreateBy()
	{
		return createBy;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getCreateTime()
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy)
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy()
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}
	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	public String getRemark()
	{
		return remark;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("noticeName", getNoticeName())
				.append("noticeImage", getNoticeImage())
				.append("releaseTime", getReleaseTime())
				.append("imageList", getImageList())
				.append("noticeDetail", getNoticeDetail())
				.append("noticeAuthor", getNoticeAuthor())
				.append("zyType", getZyType())
				.append("noticeType", getNoticeType())
				.append("sort", getSort())
				.append("delFlag", getDelFlag())
				.append("createBy", getCreateBy())
				.append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime())
				.append("remark", getRemark())
				.toString();
	}
}
